﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

/// <summary>
/// Summary description for BasePage
/// </summary>
public class BasePage : System.Web.UI.Page
{
    protected const string USER_LOGIN_SESSION = "UserLogin";

    protected DTO.User UserLogin
    {
        get
        {
            return (DTO.User)Session[USER_LOGIN_SESSION];
        }
        set
        {
            Session[USER_LOGIN_SESSION] = value;
        }
    }

    public BasePage ()
    {
    }
}